<html>
<head>
<link href="uploadify/uploadify.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="js/jquery-1.7.2.js"></script>
<script type="text/javascript" src="uploadify/jquery.uploadify.min.js"></script>
<script>
$(function() {
    $("#file_upload").uploadify({
    	buttonText    :'选择图片',
    	fileTypeExts       :'*.png;*.jpg;*.jepg;*.gif',
    	'formData'      : {'cornid' : '297e20e93efeb85a013efed7f7830002'},
        height        : 30,
        swf           : 'uploadify/uploadify.swf',
        uploader      : 'file/upload.form',
        'fileObjName' : 'file',
        width         : 120,
        'auto': true,
        'multi': false,
        'onUploadSuccess' : function(file, data, response) {
            alert('The file ' + file.name + ' was successfully uploaded with a response of ' + response + ':' + data);
        }
    });
});
</script>
</head>
<body>
<div id="file_upload"></div>
</body>
</html>